package com.study.manage.domain;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.study.manage.domain.enumm.PayState;
import com.study.manage.domain.enumm.TradeType;

@Entity
@Table(name = "sa_orders_pay")
public class OrdersPay extends AbstractEntity {

    private static final long serialVersionUID = 5535409481110171726L;

    public Long ordersId;
    public String outTradeNo;
    public Float total;
    public TradeType tradeType;
    public String tradeTypeExt;
    public String tradeNo;
    public String tradeStatus;
    public String tradeResult;
    public String recallIp;
    public PayState state;

    public OrdersPay() {}

    public OrdersPay(Long id) {
        this.id = id;
    }
}
